package com.haidechizi.designpattern.factory.method;

/**
 * @author haidechizi
 */
public class MethodFactoryMain {

    public static void main(String[] args) {
        PhoneFactory applePhoneFactory = new ApplePhoneFactory();
        applePhoneFactory.create().call();

        PhoneFactory honorPhoneFactory = new HonorPhoneFactory();
        honorPhoneFactory.create().call();
    }
}
